<?php

namespace app\index\command;
  
use think\console\Command;  
use think\console\Input;  
use think\console\Output;  
  
class Update extends Command  
{  
    protected function configure()  
    {  
        $this->setName('update')->setDescription('Command Update Register/Character And Login Data');  
    }  
  
    protected function execute(Input $input, Output $output)  
    {  
        //$output->writeln("TestCommand:");  

        $Cronrecent = new \app\index\controller\Cronrecent();
        $Cronrecent->updateToRecent();
    }  
}  